package com.kevin.Code.Tree;

/**
 * @author Vinlee Xiao
 * @Classname RightNode
 * @Description Leetcode 116所对应得Node
 * @Date 2022/1/2 10:34
 * @Version 1.0
 */
public class RightNode {

    public int val;
    public RightNode left;
    public RightNode right;
    public RightNode next;

    public RightNode() {
    }

    public RightNode(int _val) {
        val = _val;
    }

    public RightNode(int _val, RightNode _left, RightNode _right, RightNode _next) {
        val = _val;
        left = _left;
        right = _right;
        next = _next;
    }
}
